<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" href="docgen-resources/docgen.css" type="text/css">
  <meta name="generator" content="FreeMarker Docgen (DocBook 5)">
  <title>
    FreeMarker Manual - 2.3.14
  </title>
    <script type="text/javascript" src="docgen-resources/jquery.js"></script>
    <script type="text/javascript" src="docgen-resources/linktargetmarker.js"></script>
</head>
<body>

    <div class="navigation">
    <div class="breadcrumb">
<span class="breadcrumb">        You are here:
          <a href="index.html">Book</a>
            <b>></b>
          <a href="app.html">Appendixes</a>
            <b>></b>
          <a href="app_versions.html">Versions</a>
            <b>></b>
          2.3.14
</span>    </div>
    <div class="bookmarks">
<span class="bookmarks">Bookmarks:
<a href="alphaidx.html">Alphabetical Index</a>, <a href="gloss.html">Glossary</a>, <a href="ref.html">Reference</a>, <a href="app_faq.html">FAQ</a>, <a href="api/index.html">Java API</a>, <a href="../index.html">FreeMarker Home</a></span>    </div>
    <div class="pagers">
      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
<div class="pagerButton"><a href="versions_2_3_13.html"><span class="hideA">Next page: </span>2.3.13</a></div><div class="pagerButton"><a href="versions_2_3_15.html">Previous page</a></div><div class="pagerButton"><a href="app_versions.html">Parent page</a></div><div class="pagerButton"><a href="index.html">Contents</a></div>      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
    </div>
    </div>

<div id="mainContent">

  
  
  
  
  <h1 class="rank_section1"
        id="pageTopTitle">
<a name="versions_2_3_14"></a>2.3.14  </h1>
    
    <div class="toc">
      <p>
        <b>
            Page Contents
        </b>
      </p>
      
  <ul class="noMargin">
      <li style="padding-bottom: 0.5em"><i><a href="#docgen_afterTheTOC">Intro.</a></i></li>
      <li>
        <a href="#autoid_137">Changes on the FTL side</a>
      </li>
      <li>
        <a href="#autoid_138">Changes on the Java side</a>
      </li>
  </ul>
    </div>
    <a name="docgen_afterTheTOC"></a>
    
<p>Date of release: 2008-09-01</p>
            
  
  
  
  <h2 class="rank_section2"
        >
<a name="autoid_137"></a>Changes on the FTL side  </h2>


              <div class="itemizedlist">
<ul>
            <li>
              <p>New built-in: <tt style="color: #A03D10">xhtml</tt>. See more <a href="ref_builtins_string.html#ref_builtin_xhtml">here...</a></p>
            </li>

            <li>
              <p>New special variable: <tt style="color: #A03D10">template_name</tt>.
              See more <a href="ref_specvar.html">here...</a></p>
            </li>

            <li>
              <p>Now you can use the values of parameters as the defaults
              of other parameters, for example <tt style="color: #A03D10">&lt;#macro section
              title label=title&gt;</tt>. In earlier versions it worked
              unreliably. There are no restriction regarding the order of
              parameters, like <tt style="color: #A03D10">&lt;#macro section label=title
              title&gt;</tt> works too.</p>
            </li>

            <li>
              <p>Added a new <a href="ref_builtins_number.html#ref_builtin_string_for_number">number format
              specifier</a>, <tt style="color: #A03D10">computer</tt>. This uses the
              same formatting as
              <tt style="color: #A03D10"><i style="color: #DD4400">exp</i>?c</tt>.</p>
            </li>
          </ul>    </div>

        
            
  
  
  
  <h2 class="rank_section2"
        >
<a name="autoid_138"></a>Changes on the Java side  </h2>


              <div class="itemizedlist">
<ul>
            <li>
              <p>The constructor to
              <tt style="color: #A03D10">freemarker.ext.servlet.AllHttpScopesHashModel</tt>
              is now public, allowing it to be reused in 3rd party web
              frameworks.</p>
            </li>

            <li>
              <p>Bugfix:
              <tt style="color: #A03D10">freemarker.ext.beans.SimpleMapModel</tt> (unlike
              either <tt style="color: #A03D10">freemarker.ext.beans.MapModel</tt> or
              <tt style="color: #A03D10">freemarker.template.SimpleHash</tt>) didn't allow
              lookup by <tt style="color: #A03D10">java.lang.Character</tt> key when passed
              a single-character string as a key.</p>
            </li>

            <li>
              <p>Bugfix: permissive unwrapping in
              <tt style="color: #A03D10">freemarker.template.utility.DeepUnwrap</tt> class
              was not recursively permissive with elements of sequences and
              hashes.</p>
            </li>

            <li>
              <p>Bugfix: <tt style="color: #A03D10">freemarker.ext.beans.MapModel</tt>
              returns <tt style="color: #A03D10">BeansWrapper.wrap(null)</tt> instead of
              <tt style="color: #A03D10">null</tt> for <tt style="color: #A03D10">null</tt> values
              explicitly bound into the map.</p>
            </li>

            <li>
              <p>Bugfix: Fixed a subtle bug with property getters of
              classes implementing a type-parametrized interface.</p>
            </li>

            <li>
              <p>Bug fixed: A further corner case of <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1939742&amp;group_id=794&amp;atid=100794">[1939742]</a>.</p>
            </li>
          </ul>    </div>

          
</div>

    <div class="navigation">
    <div class="pagers">
      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
<div class="pagerButton"><a href="versions_2_3_13.html"><span class="hideA">Next page: </span>2.3.13</a></div><div class="pagerButton"><a href="versions_2_3_15.html">Previous page</a></div><div class="pagerButton"><a href="app_versions.html">Parent page</a></div><div class="pagerButton"><a href="index.html">Contents</a></div>      <div class="pagersVerticalSpacer"><img src="docgen-resources/img/none.gif" width="1" height="1" alt="" hspace="0" vspace="0" border="0"/></div>
    </div>
    <div class="breadcrumb">
<span class="breadcrumb">        You are here:
          <a href="index.html">Book</a>
            <b>></b>
          <a href="app.html">Appendixes</a>
            <b>></b>
          <a href="app_versions.html">Versions</a>
            <b>></b>
          2.3.14
</span>    </div>
    </div>

<table border=0 cellspacing=0 cellpadding=0 width="100%">
    <tr>
      <td colspan=2><img src="docgen-resources/img/none.gif" width=1 height=8 alt=""></td>
    <tr>
      <td align="left" valign="top"><span class="smallFooter">
            FreeMarker Manual -- For FreeMarker 2.3.16
            <br>
          HTML generated: 2009-12-08 08:38:54 GMT
      </span></td>
      <td align="right" valign="top"><span class="smallFooter">
          <a href="http://www.xmlmind.com/xmleditor/">
            <img src="docgen-resources/img/xxe.gif" alt="Edited with XMLMind XML Editor">
          </a>
      </span></td>
    </tr>
</table>
  <!-- Put pre-loaded images here: -->
  <div style="display: none">
    <img src="docgen-resources/img/linktargetmarker.gif" alt="Here!" />
  </div>
</body>
</html>

